package io.renren.modules.app.service.impl;
import java.util.List;
import io.renren.modules.app.dao.TZnmhAppVersionRoleDao;
import io.renren.modules.app.entity.TZnmhAppVersionRole;
import io.renren.modules.app.service.TZnmhAppVersionRoleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
@Service
public class TZnmhAppVersionRoleServiceImpl implements TZnmhAppVersionRoleService{
    @Autowired
    private TZnmhAppVersionRoleDao tZnmhAppVersionRoleDao;
    @Override
    public long getTZnmhAppVersionRoleRowCount(){
        return tZnmhAppVersionRoleDao.getTZnmhAppVersionRoleRowCount();
    }
    @Override
    public List<TZnmhAppVersionRole> selectTZnmhAppVersionRole(){
        return tZnmhAppVersionRoleDao.selectTZnmhAppVersionRole();
    }
    @Override
    public TZnmhAppVersionRole selectTZnmhAppVersionRoleByObj(TZnmhAppVersionRole obj){
        return tZnmhAppVersionRoleDao.selectTZnmhAppVersionRoleByObj(obj);
    }
    @Override
    public TZnmhAppVersionRole selectTZnmhAppVersionRoleById(String id){
        return tZnmhAppVersionRoleDao.selectTZnmhAppVersionRoleById(id);
    }
    @Override
    public int insertTZnmhAppVersionRole(TZnmhAppVersionRole value){
        return tZnmhAppVersionRoleDao.insertTZnmhAppVersionRole(value);
    }
    @Override
    public int insertNonEmptyTZnmhAppVersionRole(TZnmhAppVersionRole value){
        return tZnmhAppVersionRoleDao.insertNonEmptyTZnmhAppVersionRole(value);
    }
    @Override
    public int insertTZnmhAppVersionRoleByBatch(List<TZnmhAppVersionRole> value){
        return tZnmhAppVersionRoleDao.insertTZnmhAppVersionRoleByBatch(value);
    }
    @Override
    public int deleteTZnmhAppVersionRoleById(String id){
        return tZnmhAppVersionRoleDao.deleteTZnmhAppVersionRoleById(id);
    }
    @Override
    public int updateTZnmhAppVersionRoleById(TZnmhAppVersionRole enti){
        return tZnmhAppVersionRoleDao.updateTZnmhAppVersionRoleById(enti);
    }
    @Override
    public int updateNonEmptyTZnmhAppVersionRoleById(TZnmhAppVersionRole enti){
        return tZnmhAppVersionRoleDao.updateNonEmptyTZnmhAppVersionRoleById(enti);
    }

    public TZnmhAppVersionRoleDao getTZnmhAppVersionRoleDao() {
        return this.tZnmhAppVersionRoleDao;
    }

    public void setTZnmhAppVersionRoleDao(TZnmhAppVersionRoleDao tZnmhAppVersionRoleDao) {
        this.tZnmhAppVersionRoleDao = tZnmhAppVersionRoleDao;
    }

}